package com.example.service

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity


class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        // 启动 WebSocket 服务
        val serviceIntent = Intent(this, MyWebSocketService::class.java)
        startService(serviceIntent)
        //启动jmq
        JeroMqService.start()
    }
}